home *** CD-ROM | disk | FTP | other *** search
- Path: news.production.compuserve.com!news
- From: Steve Farson <75226.1623@CompuServe.COM>
- Newsgroups: comp.lang.c++
- Subject: Re: Arrays in C and c++
- Date: 14 Apr 1996 04:56:59 GMT
- Organization: CompuServe, Inc. (1-800-689-0736)
- Message-ID: <4kq0ir$snu$1@mhafc.production.compuserve.com>
- References: <316EC70D.5225@aai.arco.com>
-
- <<The dimensions must be known at compiler
- time, ie: they cannot be dynamic. C++ gets around this difficulty
- with
- the
- STL vector libraries.>>
-
- Can't this be done with the C++ new operator? I dynamically size
- arrays at runtime since I don't know the size of the file I'll be
- reading. I do it with C++ and don't need STL for this.
-
- Steve
-